#! /bin/bash
make
sudo /sbin/rmmod vhost_net
#sudo cp vhost_net.ko /lib/modules/2.6.38-8-generic/kernel/drivers/vhost/vhost_net.ko
sudo cp vhost_net.ko /lib/modules/`uname -r`/kernel/drivers/vhost/vhost_net.ko
sudo /sbin/modprobe vhost_net

gcc -c client.c
gcc -o client client.o
